package org.example.travel_web.dto.comment;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UserCommentPageResp {
    /**
     * 评论 ID
     */
    @Schema(description = "评论 ID")
    private Integer commentId;
    /**
     * 评论人
     */
    @Schema(description = "评论人")
    private Long uid;
    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "头像")
    private String avatar;
    /**
     * 评论内容
     */
    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "评分1-5")
    private Integer rating;
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private LocalDateTime createdAt;
}
